<?php
Utils_RecordBrowserCommon::uninstall_recordset('SCTV_Sms');

$fields = array(
    array('name'=>_M('SMS ID'), 'type'=>'integer', 'required'=>true, 'visible'=>false),
    array('name'=>_M('Content'), 'type'=>'text', 'param'=>320, 'required'=>true, 'visible'=>true),
    array('name'=>_M('Receiver'), 'type'=>'text', 'param'=>160, 'required'=>true, 'visible'=>true),
    array('name'=>_M('Date'), 'type'=>'date', 'required'=>true, 'visible'=>true),
    array('name'=>_M('Time'), 'type'=>'time', 'required'=>true, 'visible'=>true)
);

Utils_RecordBrowserCommon::install_new_recordset('SCTV_Sms', $fields);
Utils_RecordBrowserCommon::set_caption('SCTV_Sms', _M('SMS'));
?>